<?php
/**
 * Index服务控制器
 *
 * @author		黑冰 <954650386@qq.com>
 */

use \waf\controller\WController;
use \waf\client\monitor\WMonitorClient;

class IndexController extends WController
{
    public function indexAction()
    {
        $arrparam1  = $this->getRequest()->getParam('param1',   '');
        $arrparam2  = $this->getRequest()->getParam('param2',   '');

        WMonitorClient::tick(__METHOD__, 'SUser::getConfig');

        echo 'tcp re:'.$arrparam1.'&'.$arrparam2;
    }

    public function TestYihooAction()
    {
        echo 'yihoo';
    }
}